﻿using System.ServiceModel;
using TFSExceptionHandling.Domain.Model.TFS;
using TFSExceptionHandling.Infrastructure.TFSHandling;

namespace TFSExceptionHandling.Domain.TFSHandling
{
    [ServiceContract]
    public interface ITfsHandling
    {
        #region " Constructors "

        /// <summary>
        /// Method responsible to register Work Item
        /// </summary>
        /// <param name="workItemHandling">Parameters to register Work Item</param>
        /// <param name="tfsHandlingConnection"></param>
        [OperationContract]
        WorkItemHandling RegisterWorkItem(WorkItemHandling workItemHandling, TfsHandlingConnection tfsHandlingConnection);

        ///// <summary>
        ///// Method responsible to get specific workitem on specific project
        ///// </summary>
        ///// <returns></returns>
        //[OperationContract]
        //WorkItem GetWorkItem(int id);

        ///// <summary>
        ///// Method responsible to get all workitens on specific project
        ///// </summary>
        ///// <returns></returns>
        //[OperationContract]
        //WorkItemCollection GetWorkItems();

        #endregion
    }
}